Minor cleanup
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Mar 2016 17:11:05 +0000 (12:11 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 5 Mar 2016 17:11:05 +0000 (12:11 -0500)
The GtkStatusIcon::size-changed signal expects a boolean return.

tests/teststatusicon.c

index c98c36115cbd4e8e157e847afbe123a5800fe9b7..d9506f1af79a5b6dd944a282e206d791b4de99d5 100755 (executable)
@@ -33,11 +33,13 @@ static TestStatus status = TEST_STATUS_INFO;
 static gint timeout = 0;
 static GSList *icons = NULL;
 
-static void
+static gboolean
 size_changed_cb (GtkStatusIcon *icon,
                 int size)
 {
   g_print ("status icon %p size-changed size = %d\n", icon, size);
+
+  return FALSE;
 }
 
 static void